<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
{if !empty($this->data['adList']) && !empty($this->data['adList'][10])}
<!--{loop $this->data['adList'][10] $mk $item}-->
<div class="ad-all mb5">
{$item['code']}
</div>
<!--{/loop}-->
{/if}
<script language="javascript" src="{$this->data['baseurl']}js/jquery/jquery.js"></script>
<script language="javascript" src="{$this->data['baseurl']}js/jquery/liscroll.js"></script>
<div class="nav mb5">
您的位置：
<a href="{$this->data['baseurl']}">{$this->data['site']['site_name']}</a>
{if !empty($this->data['parentCategoryList'])}
<!--{loop $this->data['parentCategoryList'] $cat}-->
 > <a href="{url('Default', 'List',array('c'=>$cat['id']))}">{$cat['name']}</a>
<!--{/loop}-->
{/if}
 > <span>{$this->data['product']['item']['title']}</span>
</div>
<div id="yui-main">
	<div class="yui-b">
		{if !$this->data['product']}
		<div class="tips noresult border4">
		<div class="info">该商品已经被删除或者下架，请尝试刷新下页面，或者我们为您准备了以下商品，也许您会喜欢：</div>
		</div>
		<div class="ad gap">
		{if $this->data['config']['search8']['enable'] && $this->data['config']['search8']['keyword']!=''}<script language="javascript">setTimeout(function(){document.location="{url('Default','Search8',array('q'=>$this->data['cf']->getRandKeyword($this->data['config']['search8']['keyword'])))}";}, 2000);</script>{/if}
		</div>
		{else}
		<div class="yui-aa">
			<!--左侧开始-->
			<!--概要开始-->
			<div class="product-view-info border4">
				<!--图片开始-->
				<div class="image">
				<a linktype="click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank" onclick="return httpLog('/log-detail-3-{$this->data['product']['item']['num_iid']}');"><img src="{$this->data['baseurl']}images/loading.gif" u="{EncodeImg $this->data['product']['item']['pic_url']}" id="imgBig" width="330" /></a>
				</div>
				<!--图片结束-->
				<!--基本信息开始-->
				<div class="basic-info yui-u">
				<div class="title"><a linktype="click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank" onclick="return httpLog('/log-detail-1-{$this->data['product']['item']['num_iid']}');" class="yellow3"><h1>{$this->data['product']['item']['title']}</h1></a></div>
				<div class="mt10">
				<div class="product">
				<ul>
				<li class="gray2">
				一&nbsp;&nbsp;口&nbsp;&nbsp;价：<span class="space20"></span><span class="red16">{$this->data['product']['item']['price']-0}</span>元
				</li>
				{if $this->data['return']['rate']>0 && round($this->data['product']['item']['price']*$this->data['product']['item']['auction_point']*$this->data['return']['rate']/10000,2)>0}
				<li class="gray2">
				获得返现：<span class="space20"></span><span class="red16">{round($this->data['product']['item']['price']*$this->data['product']['item']['auction_point']*$this->data['return']['rate']/10000,2)}</span>元
				</li>
				{/if}
				<li class="gray2">
				所&nbsp;&nbsp;在&nbsp;&nbsp;地：<span class="space20"></span>{$this->data['product']['item']['location']['state']} {$this->data['product']['item']['location']['city']}
				</li>
				<li class="gray2">
				商品数量：<span class="space20"></span><span class="return">{$this->data['product']['item']['num']}</span>
				</li>
				<li class="gray2">
				掌&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;柜：<span class="space20"></span><a linktype="shop-click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank">{$this->data['product']['item']['nick']}</a>
				</li>
				<li class="gray2">
				卖家信用：<span class="space20"></span>{if $this->data['product']['seller_credit_score']>0}<img src="{$this->data['baseurl']}images/credit/level_{$this->data['product']['seller_credit_score']}.gif" />{else}暂无交易记录{/if}
				</li>
				<li class="gray2">
				运&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：<span class="space20"></span>{if $this->data['product']['item']['freight_payer']=='seller'}卖家承担{else}买家承担{/if}
				</li>
				{if $detail}
				<li class="gray">
				返&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现：<span class="space20"></span><span class="return">{if $this->data['product']['item']['commission']}{$this->data['product']['item']['commission']}元{else}不返现{/if}</span>
				</li>
				{/if}
				<li class="mt20">
				<a linktype="click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank"><img src="{$this->data['baseurl']}images/buy.gif" border="0" width="170" /></a>&nbsp;&nbsp;&nbsp;<a linktype="shop-click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank"><img src="{$this->data['baseurl']}images/shop.gif" border="0" width="170" /></a>
				</li>
				</ul>
				<div class="share">
				<h4>分享到：</h4>
				<a href="{url('Post','Product',array('url'=>base64_encode($this->data['currentUrl'])))}">本站</a><a class="kaixin share-md" href="http://www.kaixin001.com/repaste/share.php?rurl=http://{$this->data['domain']}{url('Default','View',array('id'=>$this->data['product']['item']['num_iid']))}&amp;rcontent={urlencode($this->data['product']['item']['title'])}&amp;rtitle={urlencode($this->data['product']['item']['title'])}" target="_blank" kind="kb.activity.share.link2">开心</a><a kind="kb.activity.share.link3" class="renren share-md" href="http://share.renren.com/share/buttonshare.do?link=http://{$this->data['domain']}{url('Default','View',array('id'=>$this->data['product']['item']['num_iid']))}&amp;title={urlencode($this->data['product']['item']['title'])}" target="_blank" id="">人人</a><a kind="kb.activity.share.link5" class="douban share-md" href="http://www.douban.com/recommend/?url=http://{$this->data['domain']}{url('Default','View',array('id'=>$this->data['product']['item']['num_iid']))}&amp;title={urlencode($this->data['product']['item']['title'])}" target="_blank">豆瓣</a><a kind="kb.activity.share.link6" class="sina share-md" href="http://v.t.sina.com.cn/share/share.php?url=http://{$this->data['domain']}{url('Default','View',array('id'=>$this->data['product']['item']['num_iid']))}&amp;title={urlencode($this->data['product']['item']['title'])}" target="_blank" style="margin-right: 0pt;">新浪微博</a>
				</div>
				</div>
				</div>
				</div>
				<!--基本信息结束-->
			</div>
			<!--概要结束-->
			<div class="clear"></div>
			<div class="ad gap">
			</div>
				
			<div class="product-view-detail clear gap border5">
			<div class="product-view-detail-title">
			<h2 class="strong">{$this->data['product']['item']['title']} <span class="red">宝贝详情</span></h2>
			</div>
			<div class="desc">
			{$this->data['product']['item']['desc']}
			
			<div class="clear gap"><center><a linktype="click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank" onclick="return httpLog('/log-detail-2-{$this->data['product']['item']['num_iid']}');"><img src="{$this->data['baseurl']}images/buy.gif" border="0" /></a><span class="space20">&nbsp;</span><a linktype="shop-click-url" href="#" nid="{$this->data['product']['item']['num_iid']}" target="_blank" onclick="return httpLog('/log-detail-2-{$this->data['product']['item']['num_iid']}');"><img src="{$this->data['baseurl']}images/shop.gif" border="0" /></a></center></div>
			</div>
			</div>
				
			{if !empty($this->data['keywordList'])}
			<div class="clear"></div>
			<div class="suggest-keyword mt10">
				<ul class="act5">
					<li><a>别人都在找：</a></li>
					<!--{loop $this->data['keywordList'] $item}-->
					<li><a target="_blank" href="{url('Default','List',array('k'=>$item['name']))}" title="{$item['name']}">{$item['name']}</a></li>
					<!--{/loop}-->
				</ul>
			</div>
			{/if}
			
			<div class="clear"></div>
			<div class="ad gap">
			</div>
			<!--左侧结束-->
		</div>
		{/if}
	</div>
</div>
<div class="yui-b">
	{component frontend left}
	<!--子类目-->
	{CategoryList($this->data['parentCategoryId'])}
	{if !empty($pvCategoryList)}
	<div class="cat border1 mt10">
		<h2>相关商品类目</h2>
		<ul>
		<!--{loop $pvCategoryList $k $cat}-->
		<li class="{if $k%5==4}split{/if}"><a href="{url('Default','List',array('c'=>$cat['id']))}" title="{$cat['name']}">{$cat['name']}</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	{/if}
	<!--热门搜索-->
	{HotKeyList(array(),'id DESC',0,20)}
	{if !empty($pvHotKeyList['rows'])}
	<div class="cat border1 mt10">
		<h2>热门搜索</h2>
		<ul>
		<!--{loop $pvHotKeyList['rows'] $k $item}-->
		<li class="{if $k%5==4}split{/if}"><a href="{url('Default','List',array('k'=>$item['name']))}" title="{$item['name']}">{$item['name']}</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	{/if}
	{if !empty($this->data['adList']) && !empty($this->data['adList'][9])}
	<!--{loop $this->data['adList'][9] $mk $item}-->
	<div class="index-left-ad mt5">
	{$item['code']}
	</div>
	<!--{/loop}-->
	{/if}
</div>
{if !empty($this->data['adList']) && !empty($this->data['adList'][11])}
<div class="clear"></div>
<!--{loop $this->data['adList'][11] $mk $item}-->
<div class="ad-all mt5">
{$item['code']}
</div>
<!--{/loop}-->
{/if}
<script language="javascript">
var defaultClickUrl	= "{$this->data['clickUrl']}";
replaceLink();
replaceImage();
</script>